﻿using System.Data;
using System.Diagnostics;
using G.Core.Common;
using Microsoft.AspNetCore.Mvc;
using zlhis_restful.Common;

namespace zlhis_restful.Controllers
{
    [Route("/api/[controller]")]
    [ApiController]
    public class HisServiceController : ControllerBase
    {
        [HttpGet]
        [Route("/GetPt")]
        public ActionResult<ResultJson> GetPt()
        {
            UtilityOracle query = new UtilityOracle();
            DataSet ds=query.QueryDataSet("select count(1) as 病人数 from 病人信息"); 
            return new ResultJson().SetSuccessResult(ds);
        }
    }
}
